package com.company.作业;

public class Dog {
    String name;
    int age;
    double weight;
    public void say(){
        System.out.println("狗的名字"+name+" "+"狗的年龄"+age+" "+"狗的体重"+weight);
    }
}
